package com.icarbonx.dap.notification.vo

import java.util

/**
 * Created by Lenovo on 2018/8/13.
 */
//{"personId": 1000000001007744,"actualDate": 1533727800000,"drugList": [{"name": "阿卡波糖片", "dosage": "3粒/天"},
// {"name": "亚莫利格列美脲片","dosage": "3粒/天"},{"name": "23","dosage": ">15U/天"},{"name": "诺和灵N","dosage": ">15U/天","
// createTime": 1534233432151}

case class DrugRecord(val personId: Long, val actualDate: Long,
                      val drugList: util.ArrayList[DrugVo],
                      val createdTime: Long) extends Serializable

case class DrugVo(val name: String, val dosage: String) extends Serializable